package com.demo.study.behavior.d02_command.step2;

import com.demo.study.behavior.d02_command.step2.impl.CodeGroup;
import com.demo.study.behavior.d02_command.step2.impl.PageGroup;
import com.demo.study.behavior.d02_command.step2.impl.RequirementGroup;

/**
 * 命令
 *
 * @author Baymax
 * @since 2022/3/20
 */
public abstract class Command {
    protected Group rg = new RequirementGroup();
    protected Group pg = new PageGroup();
    protected Group cg = new CodeGroup();

    /**
     * 执行命令
     */
    public abstract void execute();
}
